Platform Explorer / Nuxeo Platform 2021.7

Contribution org.nuxeo.platform.TemplateSources.pageproviders--providers

This contribution is part of XML component org.nuxeo.platform.TemplateSources.pageproviders inside nuxeo-template-rendering-core-2021.7.15.jar /OSGI-INF/pageprovider-contrib.xml

Extension Point

Extension point providers of component PageProviderService.

Registration Order

30
The registration order represents the order in which this contribution was registered on its target extention point. This will impact the override/merge behaviour when it is implemented on the target service, and is useful for proper customization of existing contributions.
You can influence this order by adding "require" tags in the containing component declaration, to make sure it is resolved after another component (see "Resolution Order" on components).

Contributed Items

  • <coreQueryPageProvider name="template_based">
          <pattern escapeParameters="true" quoteParameters="false">
            SELECT * FROM Document WHERE ecm:mixinType = 'TemplateBased' AND
            ecm:isTrashed = 0 AND
            nxts:bindings/*/templateId IN (?) AND ecm:isVersion = ?
          </pattern>
          <sort ascending="true" column="dc:title"/>
          <pageSize>20</pageSize>
        </coreQueryPageProvider>

XML Source

<extension point="providers" target="org.nuxeo.ecm.platform.query.api.PageProviderService">

    <coreQueryPageProvider name="template_based">
      <pattern escapeParameters="true" quoteParameters="false">
        SELECT * FROM Document WHERE ecm:mixinType = 'TemplateBased' AND
        ecm:isTrashed = 0 AND
        nxts:bindings/*/templateId IN (?) AND ecm:isVersion = ?
      </pattern>
      <sort ascending="true" column="dc:title"/>
      <pageSize>20</pageSize>
    </coreQueryPageProvider>

  </extension>